home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / prog / pbc23c.arj / DUPEVAR.BAS < prev    next >
BASIC Source File  |  1994-03-13  |  691b  |  15 lines

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1994  Thomas G. Hanlin III        |
  4. '   |                                                                      |
  5. '   +----------------------------------------------------------------------+
  6.  
  7. DECLARE SUB DupeVar (A AS ANY, B AS ANY)
  8. DECLARE SUB BlockMove (BYVAL FromSeg%, BYVAL FromOfs%, BYVAL ToSeg%, BYVAL ToOfs%, Bytes&, BYVAL Direction%)
  9.  
  10. SUB DupeVar (A, B)
  11.    IF LEN(A) = LEN(B) THEN
  12.       BlockMove VARSEG(A), VARPTR(A), VARSEG(B), VARPTR(B), CLNG(LEN(A)), 0
  13.    END IF
  14. END SUB
  15.